package com.jimmy.medical.repository;

import com.jimmy.medical.entity.Order;
import com.jimmy.medical.entity.OrderExceptionData;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderExceptionDataRepository extends JpaSpecificationExecutor<OrderExceptionData>, PagingAndSortingRepository<OrderExceptionData, Long> {

    Iterable<OrderExceptionData> findByOrder(Order order);
}
